package com.my.zl.console.service.autocode;

import com.my.zl.common.dto.ReqDTO;
import com.my.zl.common.dto.advancedQuery.PageQueryDTO;
import com.my.zl.console.entity.autocode.ZlEntity;
import com.my.zl.console.dto.autocode.entity.ReqEntityAddDTO;
import com.my.zl.console.dto.autocode.entity.ReqEntityDelDTO;
import com.my.zl.console.dto.autocode.entity.ReqEntityEditDTO;
import com.my.zl.console.dto.autocode.entity.ReqEntityQueryDTO;
import com.my.zl.console.dto.autocode.entity.ReqEntityDetailDTO;
import com.my.zl.console.dto.autocode.entity.ReqEntityStateDTO;
import com.my.zl.console.dto.autocode.entity.ResEntityAddDTO;
import com.my.zl.console.dto.autocode.entity.ResEntityDelDTO;
import com.my.zl.console.dto.autocode.entity.ResEntityEditDTO;
import com.my.zl.console.dto.autocode.entity.ResEntityQueryDTO;
import com.my.zl.console.dto.autocode.entity.ResEntityDetailDTO;
import com.my.zl.console.dto.autocode.entity.ResEntityStateDTO;

/**
 * 实体配置
 * @author ZL
 */
public interface IEntityService {

    /**
     * 查询
     */
    ResEntityQueryDTO queryEntityList(ReqEntityQueryDTO reqInfo,PageQueryDTO page) throws Exception;
    
    /**
     * 详情
     */
    ResEntityDetailDTO queryEntityDetail(ReqEntityDetailDTO reqInfo) throws Exception;
    
    /**
     * 新增
     */
    ResEntityAddDTO insertEntityInfo(ReqDTO<ReqEntityAddDTO> reqInfo) throws Exception;
    
    /**
     * 编辑
     */
    ResEntityEditDTO updateEntityInfo(ReqDTO<ReqEntityEditDTO> reqInfo) throws Exception;
    
    /**
     * 删除
     */
    ResEntityDelDTO deleteEntityInfo(ReqDTO<ReqEntityDelDTO> reqInfo) throws Exception;
    
    /**
     * 更新状态
     */
    ResEntityStateDTO updateEntityState(ReqDTO<ReqEntityStateDTO> reqInfo) throws Exception;
    
    
}